package org.springblade.modules.oss.wrapper;

import org.springblade.core.mp.support.BaseEntityWrapper;
import org.springblade.core.tool.utils.BeanUtil;
import org.springblade.modules.oss.entity.Attach;
import org.springblade.modules.oss.vo.AttachVO;

/**
 * @Author YuTao
 */
public class AttachWrapper extends BaseEntityWrapper<Attach, AttachVO> {
	public static AttachWrapper builder() {
	    return new AttachWrapper();
	}
	@Override
	public AttachVO entityVO(Attach attach) {
		AttachVO attachVO = BeanUtil.copy(attach, AttachVO.class);
		return attachVO;
	}
}
